package com.cskaoyan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * URL路径映射
 * @author stone
 * @date 2022/03/24 09:58
 */
@Controller
public class HomeController {

    @ResponseBody
    @RequestMapping({"home","index", "home/index","home*","home/*"})
    public String home() {
        return "welcome to 37th";
    }

}
